<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/jsp/cortop.jsp" %>
<%@ taglib uri="/FCKEdit" prefix="fck"%>
<%@ include file="/jsp/jscommom.jsp" %>
<%@ include file="/jsp/viewtop.jsp" %>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>修改职位信息</title>
		<link href="/css/login.css" rel="stylesheet" type="text/css" />
	</head>
	<script type="text/javascript">
	function domethod(){
		if(document.all.applyDate.value==0 || document.all.applyDate.value==""){
		alert("对不起,你没有选择招聘日期或系统还没有发布现场招聘!");
		return;
		}
		if(document.all.recruitContent.value==""){
		alert("对不起,招聘信息不能为空!");
		return;
		}
	document.all.method.value="apply";
	document.forms[0].submit();
	document.all.method.value="";
	}
	</script>
	<body>
		<html:form action="/com/corpor/manage/applybooth" method="post">
			<html:hidden property="method" />
			<div align="center">
				<table width="880" border="0" align="center" cellpadding="0"
					cellspacing="1" class="line1"> 
					<tr>
						<td class="titlebg" colspan="4">
							申请展位
						</td>
					</tr>
					<tr>
						<td class="mtdtitle1">
							申请日期：
						</td>
						<td class="mtdtextleft">
							<html:select property="applyDate" styleClass="input1">
								<html:option value="">
								请选择
							</html:option>
								<logic:empty name="applyDateList">
									<option value="0">
								无招聘信息  
							</option>
								</logic:empty>


								<logic:notEmpty name="applyDateList">
									<logic:iterate type="com.ibatis.po.corpor.TActivity"
										id="applyDateList" name="applyDateList">
										<option value="<bean:write name='applyDateList' property='showDate' format='yyyy-MM-dd'/>">
								    <bean:write name='applyDateList' property='showDate' format='yyyy-MM-dd'/>
							      </option>
									</logic:iterate>
								</logic:notEmpty>

							</html:select>
						</td>

						<td class="mtdtitle1">
							申请类型：
						</td>
						<td class="mtdtextleft">
							<html:select property="timeType" styleClass="input1">
								<option value="0">
									全天
								</option>
								<option value="1">
									上午
								</option>
								<option value="2">
									下午
								</option>
							</html:select>
						</td>
					</tr>
					<tr>
						<td class="mtdtitle1" colspan="4">
							招聘信息
						</td>
					</tr>


					<tr>
						<td class="mtdtextleft" colspan="5" height="300">
						<fck:editor id="recruitContent" basePath="/" height="100%"
								skinPath="/editor/skins/default/" toolbarSet="Default"
								imageBrowserURL="/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/jsp/connector"
								linkBrowserURL="/editor/filemanager/browser/default/browser.html?Connector=connectors/jsp/connector"
								flashBrowserURL="/editor/filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/jsp/connector"
								imageUploadURL="/editor/filemanager/upload/simpleuploader?Type=Image"
								linkUploadURL="/editor/filemanager/upload/simpleuploader?Type=File"
								flashUploadURL="/editor/filemanager/upload/simpleuploader?Type=Flash">
							</fck:editor>
						</td>
					</tr>


					<tr>
						<td class="mtdtitle1" colspan="4">
							注：招聘信息必须与现场招聘信息一致,字数最大数为1000个字符,即500个汉字.
						</td>
					</tr>
					<tr>
						<td class="mtdtitle1" colspan="4">
							<input type="button" class="tbutton" value="提交"
								onclick="domethod()" />
						</td>
					</tr>
				</table>
			</div>
		</html:form>

	</body>
</html>
